package com.yyw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName ProductController
 * @Description TODO
 * @Author YiYuWei
 * @Date 2020/7/1 20:30
 * @Version 1.0
 */
@Controller
@RequestMapping("/product")
public class ProductController {

    @GetMapping("/get")
    public String get(){
        return "product/list";
    }

    @RequestMapping("/save")
    public String save(){
        return "product/save";
    }

    @RequestMapping("/update")
    public String update(){
        return "product/update";
    }

    @RequestMapping("/delete")
    public String delete(){
        return "product/delete";
    }

}
